/**
 $ @Author: jyq
 $ @Date: 2022-07-02 11:21:57
 $ @LastEditTime: 2022-07-03 09:28:53
 $ @LastEditors: jyq
 $ @Description: 
 $ @FilePath: \dasantest2\day06\vue3-project\postcss.config.js
 $ @可以输入预定的版权声明、个性签名、空行等
 */
 module.exports = {
    plugins: {
      'postcss-px-to-viewport': {
        viewportWidth: 375,//默认宽度
        propList: ['*'],//全部CSS属性都进行转换
        mediaQuery: true,
        unitToConvert: 'px',//要转换的单位
        unitPrecision: 5,//转换后的精度
        viewportUnit: 'vw',
        fontViewportUnit: 'vw',
        selectorBlackList: ["wrap"],
        minPixelValue: 1,
        replace: true,
        exclude: [/node_modules/],
        include: undefined,
        landscape: true,
        landscapeUnit: 'vw',
        landscapeWidth: 667//横屏宽度
      },
    },
  };
